package com.ztgf.pay.models.dto;

import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.ztgf.common.dto.BaseDTO;

/**
 * 用户充值表DTO
 *
 * @author mxli
 * @Date 2020-07-30 12:15:07
 */
@Data
@TableName("pay_user_recharge")
@ApiModel(value="用户充值表对象", description="用户充值表对象")
public class PayUserRechargeDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "金额")
    private BigDecimal money;
    @ApiModelProperty(value = "支付类型 0余额、1网银")
    private Integer payType;
    @ApiModelProperty(value = "类型 0充值、1提现、2保证金、3冻结、4解冻")
    private Integer type;
    @ApiModelProperty(value = "状态 0创建、1支付中、2成功、3失败")
    private Integer status;
    @ApiModelProperty(value = "中金流水号")
    private String zjBusinessId;
    @ApiModelProperty(value = "中金网银跳转地址")
    private String zjPayUrl;
    @ApiModelProperty(value = "中金失败原因")
    private String zjFailMsg;
    @ApiModelProperty(value = "回调地址")
    private String notifyUrl;
    @ApiModelProperty(value = "回调状态：0未回调，1已回调")
    private Integer notifyStatus;
    @ApiModelProperty(value = "业务流水号,缴保证金必填")
    private Long businessId;
    @ApiModelProperty(value = "过期时间")
    private Date expiredTime;
}